CommonEvent 137
Name = "メダル王・大きなメダル"

  999([140])
  ControlVariables([10, 10, 0, 3, 0, 900, 0])
  ConditionalBranch([1, 10, 0, 0, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<King of Medals>"])
    ShowText(["You don't have... any medals at all?"])
    ShowText(["Since we're at it, feel free to look at the prize list."])
    Empty([])

  Else([])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<King of Medals>"])
    ShowText(["You own \\V[10] medals."])
    ShowText(["Now then, which treasure do you want?"])
    Empty([])

  BranchEnd([])
  Label(["リスト"])
  ControlVariables([10, 10, 0, 3, 0, 900, 0])
  Script(["unlimited_choices(11,[\"Small medals x 5 (1 piece)\","])
  ScriptMore(["\"Berorin Girl (3 photos)\",\"Nyanko Paws (3 photos)\","])
  ScriptMore(["\"The Gem of energy filling (5 pieces)\","])
  ScriptMore(["\"Meteor Strike (10 pieces)\","])
  ScriptMore(["\"Physical Reflection Gem (15 pieces)\","])
  ScriptMore(["\"Magic Reflection Gem (15 pieces)\",\"Ribbon (20 pieces)\","])
  ScriptMore(["\"CD 'Heroes of the Seven Worlds' (25 cards)\","])
  ScriptMore(["\"Absolute Gem of SP Consumption Reduction (30 cards)\","])
  ScriptMore(["\"Absolute Gem of MP Consumption Reduction (30 cards)\","])
  ScriptMore(["\"Chaos Armor (40 pieces)\",\"Chaos Helmet (40 pieces)\","])
  ScriptMore(["\"Chaos Shield (40 pieces)\",\"Goddess' Gem (50 pieces)\","])
  ScriptMore(["\"Dark Goddess's Gem (50 pieces)\",\"Stop\"])"])
  ConditionalBranch([1, 11, 0, 0, 0])
    ConditionalBranch([1, 10, 0, 1, 1])
      ChangeItems([900, 1, 0, 1])
      ControlVariables([59, 59, 1, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([32, 0, 0, 5])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 1, 0])
    ConditionalBranch([1, 10, 0, 3, 1])
      ChangeItems([900, 1, 0, 3])
      ControlVariables([59, 59, 1, 0, 3])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1743, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 2, 0])
    ConditionalBranch([1, 10, 0, 3, 1])
      ChangeItems([900, 1, 0, 3])
      ControlVariables([59, 59, 1, 0, 3])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1744, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 3, 0])
    ConditionalBranch([1, 10, 0, 5, 1])
      ChangeItems([900, 1, 0, 5])
      ControlVariables([59, 59, 1, 0, 5])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([3588, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 4, 0])
    ConditionalBranch([1, 10, 0, 10, 1])
      ChangeItems([900, 1, 0, 10])
      ControlVariables([59, 59, 1, 0, 10])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1742, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 5, 0])
    ConditionalBranch([1, 10, 0, 15, 1])
      ChangeItems([900, 1, 0, 15])
      ControlVariables([59, 59, 1, 0, 15])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([4253, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 6, 0])
    ConditionalBranch([1, 10, 0, 15, 1])
      ChangeItems([900, 1, 0, 15])
      ControlVariables([59, 59, 1, 0, 15])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([3109, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 7, 0])
    ConditionalBranch([1, 10, 0, 20, 1])
      ChangeItems([900, 1, 0, 20])
      ControlVariables([59, 59, 1, 0, 20])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([1591, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 8, 0])
    ConditionalBranch([1, 10, 0, 25, 1])
      ChangeItems([900, 1, 0, 25])
      ControlVariables([59, 59, 1, 0, 25])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([1832, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 9, 0])
    ConditionalBranch([1, 10, 0, 30, 1])
      ChangeItems([900, 1, 0, 30])
      ControlVariables([59, 59, 1, 0, 30])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([2520, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 10, 0])
    ConditionalBranch([1, 10, 0, 30, 1])
      ChangeItems([900, 1, 0, 30])
      ControlVariables([59, 59, 1, 0, 30])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([2854, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 11, 0])
    ConditionalBranch([1, 10, 0, 40, 1])
      ChangeItems([900, 1, 0, 40])
      ControlVariables([59, 59, 1, 0, 40])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([485, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 12, 0])
    ConditionalBranch([1, 10, 0, 40, 1])
      ChangeItems([900, 1, 0, 40])
      ControlVariables([59, 59, 1, 0, 40])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([705, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 13, 0])
    ConditionalBranch([1, 10, 0, 40, 1])
      ChangeItems([900, 1, 0, 40])
      ControlVariables([59, 59, 1, 0, 40])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([863, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 14, 0])
    ConditionalBranch([1, 10, 0, 50, 1])
      ChangeItems([900, 1, 0, 50])
      ControlVariables([59, 59, 1, 0, 50])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([4132, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 15, 0])
    ConditionalBranch([1, 10, 0, 50, 1])
      ChangeItems([900, 1, 0, 50])
      ControlVariables([59, 59, 1, 0, 50])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Then, take it."])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([4138, 0, 0, 1])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Is there anything else you would like to exchange?"])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<King of Medals>"])
      ShowText(["Unfortunately, it seems you don't have enough medals..."])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["People4", 0, 0, 2])
  ShowText(["\\n<King of Medals>"])
  ShowText(["Collect medals and come again."])
  ConditionalBranch([1, 59, 0, 3, 1])
    Script(["gain_medal(1406)"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 59, 0, 15, 1])
    Script(["gain_medal(1407)"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 59, 0, 50, 1])
    Script(["gain_medal(1408)"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 59, 0, 250, 1])
    Script(["gain_medal(1409)"])
    Empty([])

  BranchEnd([])
  ErasePicture([5])
  ExitEventProcessing([])
  Empty([])
